using UnityEngine;

public class Bullet_Sample : Bullet
{
    void Awake(){
        OnHurt = new Function(_OnHurt);
        OnWay = new Function(_OnWay);
        OnDisappear = new Function(_OnDisappear);
    }

    void _OnHurt(Entity other){
        Debug.Log("Hurt");
        Die(null);
    }

    void _OnWay(Entity other){
        Turn();
    }
    
    void _OnDisappear(Entity other){
        Debug.Log("Disapper");
    }
}
